<div class="list">
    <!--头部数据-->
    <div class="head">
        <p class="count">目前总报名数:<span>{{count}}人</span></p>
        <img src="../src/img/bg-list-head.png" alt="">
    </div>

    <div class="content" ng-class="title">
        <!--标签组-->
        <ul class="title">
            <li class="create {{ title=='create'?'active':'' }}" ng-click="changeTitle(1,'create')">
                <div class="name">创客组</div>（青年创业者）
            </li>
            <li class="youth {{ title=='youth'?'active':'' }}" ng-click="changeTitle(1,'youth')">
                <div class="name">青春组</div>（高校女生、新晋网红）
            </li>
        </ul>

        <div class="total">
            <div>
                <i class="count"></i>
                <span>{{count}}</span>
                已报名
            </div>
            <div>
                <i class="voteman"></i>
                <span>{{voter}}</span>
                投票人次
            </div>
            <div>
                <i class="browse"></i>
                <span>{{browse}}</span>
                浏览量
            </div>
        </div>

        <ul class="minitab">
            <li class="{{ minititle=='new'?'active':'' }}" ng-click="changeTitle(2,'new')">最新参赛</li>
            <li class="{{ minititle=='top'?'active':'' }}" ng-click="changeTitle(2,'top')">投票排行</li>
        </ul>
        <div class="content_con">
            <!--搜索框-->
            <div class="search">
                <input type="text" placeholder="请输入选手姓名或编号" ng-model="sData.searchTxt">
                <button ng-click="toSearch()">搜&nbsp;索</button>
            </div>

            <!--列表数据-->
            <div class="list-area" ng-show="!sData.isSearch">
                <div deckgrid class="deckgrid" source="thislist.data">
                    <div class="li">
                        <a ng-href="#/detail/{{ card.id }}">
                            <img ng-src="{{card.tc_image[0]}}?imageMogr2/crop/"/>
                            <p>{{card.id}}号<em>{{card.name}}</em></p>
                        </a>
                        <button class="votebtn" data-id="{{card.id}}"><i></i>投票（{{card.vote}}票）</button>
                    </div>
                </div>
                <div name="more" class="more loadmore" ng-if="thislist.more"><img src="../src/img/loading.png"/>加载中...</div>
                <div class="more" ng-if="!thislist.more">没有更多选手了~</div>
            </div>

            <!--搜索-->
            <div class="search-area" ng-show="sData.isSearch">
                <div deckgrid class="deckgrid clearfix" source="sData.data">
                    <div class="li">
                        <a ng-href="#/detail/{{ card.id }}">
                            <img ng-src="{{card.tc_image[0]}}?imageMogr2/crop/"/>
                            <p>{{card.id}}号<em>{{card.name}}</em></p>
                        </a>
                        <button cast-vote ng-click="clickVote(card.id,voteBack($index))"><i></i>投票（{{card.vote}}票）</button>
                    </div>
                </div>
                <div class="more" ng-if="sData.nothing">没有搜索到相关选手</div>
            </div>
        </div>
    </div>

</div>

<link rel="import" href="/views/nav.html?__inline">

<div id="popup-captcha" class="disNone"></div>

<!--分享弹出框-->
<share-alert></share-alert>